Image marking with pixel modification

ABSTRACT

A method and system for embedding signatures within visual images in both digital representation and print or film. A signature is inseparably embedded within the visible image, the signature persisting through image transforms that include reseting as well as conversion to print or film and back to digital form. Signature points are selected from among the pixels of an original image. The pixel values of the signature points and surrounding pixels are adjusted by an amount detectable by a digital scanner. The adjusted signature points form a digital signature which is stored for future identification of subject images derived from the image. In one embodiment a signature is embedded within an image by locating relative extrema in the continuous space of pixel values and selecting the signature points from among the extrema. Preferably, the signature is redundantly embedded in the image such that any of the redundant representations can be used to identify the signature. Identification of a subject image includes ensuring that the subject image is normalized with respect to the original image or the signed image. Preferably, the normalized subject image is compared with the stored digital signature.

TECHNICAL FIELD

[0001] This invention relates to a method of and system for encoding a signature into a digital image and auditing a digital subject image to determine if it was derived from the encoded image.

BACKGROUND OF THE INVENTION

[0002] Various images in traditional print or photographic media are commonly distributed to many users. Examples include the distribution of prints of paintings to the general public and photographs and film clips to and among the media. Owners may wish to audit usage of their images in print and electronic media and so require a method to analyze print, film and digital images to determine if they were obtained directly from the owners or derived from their images. For example, the owner of an image may desire to limit access or use of the image. To monitor and enforce such a limitation, it would be beneficial to have a method of verifying that a subject image is copied or derived from the owner's image. The method of proof should be accurate and incapable of being circumvented. Further, the method should be able to detect unauthorized copies that have been resized, rotated, cropped, or otherwise altered slightly.

[0003] In the computer field, digital signatures have been applied to non-image digital data in order to identify the origin of the data. For various reasons these prior art digital signatures have not been applied to digital image data. One reason is that these prior art digital signatures are lost if the data to which they are applied are modified. Digital images are often modified each time they are printed, scanned, copied, or photographed due to unintentional “noise” created by the mechanical reproduction equipment used. Further, it is often desired to resize, rotate, crop or otherwise intentionally modify the image. Accordingly, the existing digital signatures are unacceptable for use with digital images.

SUMMARY OF THE INVENTION

[0004] The invention includes a method and system for embedding image signatures within visual images, applicable in the preferred embodiments described herein to digital representations as well as other media such as print or film. The signatures identify the source or ownership of images and distinguish between different copies of a single image. In preferred embodiments, these signatures persist through image transforms such as resizing and conversion to or from print or film and so provide a method to track subsequent use of digital images including derivative images in print or other form.

[0005] In a preferred embodiment described herein, a plurality of signature points are selected that are positioned within an original image having pixels with pixel values. The pixel values of the signature points are adjusted by an amount detectable by a digital scanner. The adjusted signature points form a digital signature that is stored for future identification of subject images derived from the image.

[0006] The preferred embodiment of the invention described herein embeds a signature within the original image by locating candidate points such as relative extrema in the pixel values. Signature points are selected from among the candidate points and a data bit is encoded at each signature point by adjusting the pixel value at and surrounding each point. Preferably, the signature is redundantly embedded in the image such that any of the redundant representations can be used to identity the signature. The signature is stored for later use in identifying a subject image.

[0007] According to a preferred embodiment, the identification of a subject image includes ensuring that the subject image is normalized, i.e. of the same size, rotation, and brightness level as the original image. If not already normalized, the subject image is normalized by aligning and adjusting the luminance values of subsets of the pixels in the subject image to match corresponding subsets in the original image. The normalized subject image is then subtracted from the original image and the result is compared with the stored digital signature. In alternate embodiment, the normalized subject image is compared directly with the signed image.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008]FIG. 1 is a diagram of a computer system used in a preferred embodiment of the present invention.

[0009]FIG. 2 is a sample digital image upon which a preferred embodiment of the present invention is employed.

[0010]FIG. 3 is a representation of a digital image in the form of an array of pixels with pixel values.

[0011]FIG. 4 is graphical representation of pixel values showing relative minima and maxima pixel values.

[0012]FIG. 5 is a digital subject image that is compared to the image of FIG. 2 according to a preferred embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0013] The present invention includes a method and system for embedding a signature into an original image to create a signed image. A preferred embodiment includes selecting a large number of candidate points in the original image and selecting a number of signature points from among the candidate points. The signature points are altered slightly to form the signature. The signature points are stored for later use in auditing a subject image to determine whether the subject image is derived from the signed image.

[0014] The signatures are encoded in the visible domain of the image and so become part of the image and cannot be detected or removed without prior knowledge of the signature. A key point is that while the changes manifested by the signatures are too slight to be visible to the human eye, they are easily and consistently recognizable by a common digital image scanner, after which the signature extracted, interpreted and verified by a software algorithm.

[0015] In contrast to prior art signature methods used on non-image data, the signatures persist through significant image transformations that preserve the visible image but may completely change the digital data. The specific transforms allowed include resizing the image larger or smaller, rotating the image, uniformly adjusting color, brightness and/or contrast, and limited cropping. Significantly, the signatures persist through the process of printing the image to paper or film and rescanning it into digital form.

[0016] Shown in FIG. 1 is a computer system 10 that is used to carry out an embodiment of the present invention. The computer system 10 includes a computer 12 having the usual complement of memory and logic circuits, a display monitor 14, a keyboard 16, and a mouse 18 or other pointing device. The computer system also includes a digital scanner 20 that is used to create a digital image representative of an original image such as a photograph or painting. Typically, delicate images, such as paintings, are converted to print or film before being scanned into digital form. In one embodiment a printer 22 is connected to the computer 12 to print digital images output from the processor. In addition, digital images can be output in a data format to a storage medium 23 such as a floppy disk for displaying later at a remote site. Any digital display device may be used, such a common computer printer, X-Y plotter, or a display screen.

[0017] An example of the Output of the scanner 20 to the computer 12 is a digital image 24 shown in FIG. 2. More accurately, the scanner outputs data representative of the digital image and the computer causes the digital image 24 to be displayed on the display monitor 14. As used herein “digital image” refers to the digital data representative of the digital image, the digital image displayed on the monitor or other display screen, and the digital image printed by the printer 22 or a remote printer.

[0018] The digital image 24 is depicted using numerous pixels 24 having various pixel values. In the gray-scale image 24 the pixel values are luminance values representing a brightness level varying from black to white. In a color image the pixels have color values and luminance values, both of which being pixel values. The color values can include the values of any components in a representation of the color by a vector. FIG. 3 shows digital image 24A in the form of an array of pixels 26. Each pixel is associated with one or more pixel values, which in the example shown in FIG. 3 are luminance values from 0 to 15.

[0019] The digital image 24 shown in FIG. 2 includes thousands of pixels. The digital image 24A represented in FIG. 3 includes 225 pixels. The invention preferably is used for images having pixels numbering in the millions. Therefore, the description herein is necessarily a simplistic discussion of the utility of the invention.

[0020] According to a preferred embodiment of the invention numerous candidate points are located within the original image. Signature points are selected from among the candidate points and are altered to form a signature. The signature is a pattern of any number of signature points. In a preferred embodiment, the signature is a binary number between 16 and 32 bits in length. The signature points may be anywhere within an image, but are preferably chosen to be as inconspicuous as possible. Preferably, the number of signature points is much greater than the number of bits in a signature. This allows the signature to be redundantly encoded in the image. Using a 16 to 32 bit signature, 50-200 signature points are preferable to obtain multiple signatures for the image.

[0021] A preferred embodiment of the invention locates candidate points by finding relative maxima and minima, collectively referred to as extrema, in the image. The extrema represent local extremes of luminance or color. FIG. 4 shows what is meant by relative extrema. FIG. 4 is a graphical representation of the pixel values of a small portion of a digital image. The vertical axis of the graph shows pixel values while the horizontal axis shows pixel positions along a single line of the digital image. Small undulations in pixel values indicated at 32, represent portions of the digital image where only small changes in luminance or color occur between pixels. A relative maximum 34 represents a pixel that has the highest pixel value for a given area of the image. Similarly, a relative minimum 36 represents a pixel that has the lowest pixel value for a given area of the image.

[0022] Relative extrema are preferred signature points for two major reasons. First, they are easily located by simple, well known processing. Second, they allow signature points to be encoded very inconspicuously.

[0023] One of the simplest methods to determine relative extrema is to use a “Difference of Averages” technique. This technique employs predetermined neighborhoods around each pixel 26; a small neighborhood 28 and a large neighborhood 30, as shown in FIGS. 2 and 3. In the present example the neighborhoods are square for simplicity, but a preferred embodiment employs circular neighborhoods. The technique determines the difference between the average pixel value in the small neighborhood and the average pixel value of the large neighborhood. If the difference is large compared to the difference for surrounding pixels then the first pixel value is a relative maxima or minima.

[0024] Using the image of FIG. 3 as an example, the Difference of Averages for the pixel 26A is determines as follows. The pixel values within the 3×3 pixel small neighborhood 23A add up to 69; dividing by 9 pixels gives an average of 7.67. The pixel values within the 5×5 pixel large neighborhood 30A add up to 219; dividing by 25 pixels gives an average of 8.76 and a Difference of Averages of −1.09. Similarly, the average in small neighborhood 28G is 10.0; the average in large neighborhood 30G is 9.8; the Difference of Averages for pixel 26G is therefore 0.2. Similar computations on pixels 26B-26F produce the following table: 26A 26B 26C 26D 26E 26F 26G Small Neighborhood 7.67 10.56 12.89 14.11 13.11 11.56 10.0 Large Neighborhood 8.76 10.56 12.0 12.52 12.52 11.36 9.8 Difference of −1.09   0.0 0.89 1.59 0.59 0.2 0.2 Averages

[0025] Based on pixels 26A-26G, there may be a relative maximum at pixel 26D, whose Difference of Averages or 1.59 is greater than the Difference of Averages for the other examined pixels in the row. To determine whether pixel 26D is a relative maximum rather than merely a small undulation, its Difference of Averages must be compared with the Difference of Averages for the pixels surrounding it in a larger are.

[0026] Preferably, extrema within 10% of the image size of any side are not used as signature points. This protects against loss of signature points caused by the practice of cropping the border area of an image. It is also preferable that relative extrema that are randomly and widely spaced are used rather than those that appear in regular patterns.

[0027] Using the Difference of Averages technique or other known techniques, a large number of extrema are obtained, the number depending on the pixel density and contrast of the image. Of the total number of extrema found, a preferred embodiment chooses 50 to 200 signature points. This may be done manually by a user choosing with the keyboard 16, mouse 18, or other pointing device each signature point from among the extrema displayed on the display monitor 14. The extrema may be displayed as a digital image with each point chosen by using the mouse or other pointing device to point to a pixel or they may be displayed as a list of coordinates which are chosen by keyboard, mouse, or other pointing device. Alternatively, the computer 12 can be programmed to choose signature points randomly or according to a preprogramed pattern.

[0028] One bit of binary data is encoded in each signature point in the image by adjusting the pixel values at and surrounding the point. The image is modified by making a small, preferably 2%-10% positive or negative adjustment in the pixel value at the exact signature point, to represent a binary zero or one. The pixels surrounding each signature point, in approximately a 5×5 to 10×10 grid, are preferably adjusted proportionally to ensure a continuous transition to the new value at the signature point. A number of bits are encoded in the signature points to form a pattern which is the signature for the image.

[0029] In a preferred embodiment, the signature is a pattern of all of the signature points. When auditing a subject image, if a statistically significant number of potential signature points in the subject image match corresponding signature points in the signed image, then the subject image is deemed to be derived from the signed image. A statistically significant number is somewhat less than 100%, but enough to be reasonably confident that the subject image was derived from the signed image.

[0030] In an alternate embodiment the signature is encoded using a redundant pattern that distributes it among the signature points in a manner that can be reliably retrieved using only a subset of the points. One embodiment simply encodes a predetermined number of exact duplicates of the signature. Other redundant representation methods, such as an error-correcting code, may also be used.

[0031] In order to allow future auditing of images to determine whether they match the signed image, the signature is stored in a database in which it is associated with the original image. The signature can be stored by associating the bit value of each signature point together with x-y coordinates of the signature point The signature may be stored separately or as part of the signed image. The signed image is then distributed in digital form.

[0032] As discussed above, the signed image may be transformed and manipulated to form a derived image. The derived image is derived from the signed image by various transformations, such as resizing, rotating, adjusting color, brightness and/or contrast, cropping and converting to print or film. The derivation may make place in multiple steps or processes or may simply be the copying of the signed image directly.

[0033] It is assumed that derivations of these images that an owner wishes to track include only applications which substantially preserve the resolution and general quality of the image. While a size reduction by 90%, a significant color alteration or distinct-pixel-value reduction may destroy the signature; they also reduce the image's significance and value such that no auditing is desired.

[0034] In order to audit a subject image according to a preferred embodiment, a user identifies the original image of which the subject image is suspected of being a duplicate. For a print or film image, the subject image is scanned to create a digital image file. For a digital image, no scanning is necessary. The subject digital image is normalized using techniques as described below to the same size, and same overall brightness, contrast and color profile as the unmodified original image. The subject image is analyzed by the method described below to extract the signature, if present, and compare it to any signatures stored for that image.

[0035] The normalization process involves a sequence of steps to undo transformations previously made to the subject image, to return it as close as possible to the resolution and appearance of the original image. It is assumed that the subject image has been manipulated and transformed as described above. To align the subject image with the original image, a preferred embodiment chooses three or more points from the subject image which correspond to points in the original image. The three or more points of the subject image are aligned with the corresponding points in the original image. The points of the subject image not selected are rotated and resized as necessary to accommodate the alignment of the points selected.

[0036] For example, FIG. 5 shows a digital subject image 38 that is smaller than the original image 24 shown in FIG. 2. To resize the subject image, a user points to three points such as the mouth 40B, ear 42B and eye 44B of the subject image using, the mouse 18 or other pointer. Since it is usually difficult to accurately point to a single pixel, the computer selects the nearest extrema to the pixel pointed to by the user. The user points to the mouth 40A, ear 42A, and eye 44B, of the original image. The computer 12 resizes and rotates the subject image as necessary to ensure that points 40B, 42B, and 44B are positioned with respect to each other in the same way that points 40A, 42A, and 44A are positioned with respect to each other in the original image. The remaining pixels are repositioned in proportion to the repositioning of points 40B, 42B and 44B. By aligning three points the entire subject image is aligned with the original image without having to align each pixel independently.

[0037] After the subject image is aligned, the next step is to normalize the brightness, contrast and/or color of the subject image. Normalizing involves adjusting pixel values of the subject image to match the value-distribution profile of the original image. This is accomplished by a technique analogous to that used to align the subject image. A subset of the pixels in the subject image are adjusted to equal corresponding pixels in the original image. The pixels not in the subset are adjusted in proportion to the adjustments made to the pixels in the subset. The pixels of the subject image corresponding to the signature points should not be among the pixels in the subset. Otherwise any signature points in the subject image will be hidden from detection when they are adjusted to equal corresponding pixels in the original image.

[0038] In a preferred embodiment, the subset includes the brightest and darkest pixels of the subject image. These pixels are adjusted to have luminance values equal to the luminance values of corresponding pixels in the original image. To ensure that any signature points can be detected, no signature points should be selected during the signature embedding process described above that are among the brightest and darkest pixels of the original image. For example, one could use pixels among the brightest and darkest 3% for the adjusting subset, after selecting signature points among less than the brightest and darkest 5% to ensure that there is no overlap.

[0039] When the subject image is fully normalized, it is preferably compared to the original image. One way to compare images is to subtract one image from the other. The result of the subtraction is a digital image that includes any signature points that were present in the subject image. These signature points, if any, are compared to the stored signature points for the signed image. If the signature points do not match, then the subject image is not an image derived from the signed image, unless the subject image was changed substantially from the signed image.

[0040] In an alternative embodiment the normalized subject image is compared directly with the signed image instead of subtracting the subject image from the original image. This comparison involves subtracting the subject image from the signed image. If there is little or no image resulting from the subtraction, then the subject image equals to the signed image, and therefore has been derived from the signed image.

[0041] In another alternate embodiment, instead of normalizing the entire subject image; only a section of the subject image surrounding each potential signature point is normalized to be of the same general resolution and appearance as a corresponding section of the original image. This is accomplished by selecting each potential signature point of the subject image and selecting sections surrounding each potential signature point. The normalization of each selected section proceeds according to methods similar to those disclosed above for normalizing the entire subject image.

[0042] Normalizing each selected section individually allows each potential signature point of the subject image to be compared directly with a corresponding signature point of the signed image. Preferably, an average is computed for each potential signature point by averaging the pixel value of the potential signature point with the pixel values of a plurality of pixels surrounding the potential signature point. The average computed for each signature is compared directly with a corresponding signature point of the signed image.

[0043] While the methods of normalizing and extracting a signature from a subject image as described above are directed to luminance values, similar methods may be used for color values. Instead of or in addition to normalizing by altering luminance values, the color values of the subject image can also be adjusted to equal corresponding color values in an original color image. However, it is not necessary to adjust color values in order to encode a signature in or extract a signature from a color image. Color images use pixels having pixel values that include luminance values and color values. A digital signature can be encoded in any pixel values regardless of whether the pixel values are luminance values, color values, or any other type of pixel values. Luminance values are preferred because alterations may be made more easily to luminance values without the alterations being visible to the human eye.

[0044] From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims. 

1. A method of image signature processing of an original image having pixels with luminance values, comprising: locating a plurality of candidate points from among the pixels of the original image; selecting a first plurality of signature points from among the candidate points; adjusting the pixel values of the signature points to form a signed image, the adjusted signature point pixel values forming a signature for the signed image; and storing the signature for future identification.
 2. The method according to claim 1 wherein the candidate points are located by locating relative extrema in the original image and wherein the selecting step includes selecting the signature points from among the extrema.
 3. The method according to claim 2 wherein the extrema are relative minima or maxima of luminance values of the pixels of the original image.
 4. The method according to claim 1, further comprising adjusting a plurality of pixel values surrounding the signature points to provide smooth transitions to the adjusted pixel values at the signature points.
 5. The method according to claim 1, further comprising: selecting a second plurality of signature points from among the candidate points; and adjusting the pixel values of the second plurality of signature points to form a redundant signature for the signed image.
 6. A method of image signature processing of an original image having pixels with pixel values, comprising: selecting a first plurality of signature points from among the pixels of the original image; adjusting the pixel values of the signature points, the adjusted signature point pixel values forming a signature for the image; and storing the signature for future identification.
 7. The method according to claim 6, further comprising locating relative extrema in the original image and wherein the selecting step includes selecting the signature points from among the extrema.
 8. The method according to claim 7 wherein the extrema are relative minima or maxima of luminance values of the pixels of the original image.
 9. The method according to claim 6 further comprising: selecting a second plurality of signature points from among the candidate points; and adjusting the pixel values of the second plurality of signature points to form a redundant signature for the signed image.
 10. The method according to claim 6 wherein the digital image has a border surrounding the image and the pixel values adjusted are selected so as not to be within a predetermined distance from the border.
 11. The method according to claim 6, further comprising adjusting a plurality of pixel values surrounding the signature points to provide smooth transitions to the adjusted pixel values at the signature points.
 12. The method according to claim 6 wherein the pixel values adjusted are luminance values.
 13. The method according to claim 6 wherein the pixel values adjusted are color values.
 14. The method according to claim 6, further comprising analyzing whether a digital subject image constitutes or is derived from a signed image having pixel values that were adjusted to form a signature according to claim
 6. 15. The method according to claim 14 wherein the analyzing step includes normalizing the subject image.
 16. The method according to claim 15 wherein the normalizing step includes aligning the subject image with the signed image or the original image.
 17. The method according to claim 16 wherein the aligning step includes selecting three or more pixels in the subject image and aligning the three or more pixels with corresponding pixels in the original or the signed image.
 18. The method according to claim 15 wherein the pixel values of the subject image and the original image include luminance values and the normalizing step includes adjusting the luminance values of a subset of the pixels in the subject image to equal the luminance values of a corresponding subset of pixels in the original image.
 19. The method according to claim 14 wherein the analyzing step includes subtracting the subject image from the original image to obtain a resulting image and comparing the resulting image with the stored signature.
 20. The method according to claim 14 wherein the analyzing step includes comparing the subject image with the signed image.
 21. The method according to claim 14 wherein the analyzing step includes selecting a potential signature point in the subject image corresponding to a signature point of the signed image and comparing the pixel value of the selected point to the pixel value of the corresponding signature point of the signed image.
 22. The method according to claim 14 wherein the analyzing step includes selecting a potential signature point in the subject image corresponding to a signature point of the signed image, computing an average of pixel values of the potential signature point and a plurality of pixels surrounding the potential signature point, and comparing the average to the pixel value of the corresponding signature point or the signed image.
 23. A method of determining whether a subject image having pixels with pixel values constitutes or is derived from a signed image having pixels with pixel values that have been adjusted to collectively form a signature, comprising: ensuring that the subject image is normalized with respect to an original image or the signal image; comparing the signature of the signed image with potential signature points of the subject image corresponding to the pixels of the signature.
 24. The method according to claim 23 wherein the ensuring step includes normalizing the subject image with respect to the original image or the signed image.
 25. The method according to claim 24 wherein the normalizing step includes aligning the subject image with the signal image or the original image.
 26. The method according to claim 25 wherein the aligning step includes selecting three or more pixels in the subject image and aligning the three or more pixels with a like number of pixels in the original or signed image.
 27. The method according to claim 24 wherein the pixel values of the subject image and the original image include luminance values and the normalizing step includes adjusting the luminance values of a subset of the pixels in the subject image to equal the luminance value of a corresponding subset of pixels in the original image.
 28. The method according to claim 23 wherein the comparing step includes subtracting the subject image from the original image to obtain a resulting image and comparing the resulting image with the stored digital signature.
 29. The method according to claim 23 wherein the comparing step includes comparing the subject image with the signed image.
 30. The method according to claim 23 wherein the comparing step includes selecting the potential signature points corresponding to pixels of the signature, computing an average of the pixel values of each potential signature point and a plurality of pixels surrounding each signature point, and comparing each average to the pixel value of the corresponding signature point of the signed image.
 31. A system for image signature processing of an original image having pixels with pixel values, comprising: a display device for displaying digital images to a user; selection means for selecting a plurality of signature points from among the pixels of the original image; a computing device in communication with the display device and the selection means, the computing device adjusting the pixel values of the signature points to form a signed image, the adjusted signature point pixel values forming a signature associated with the signed image; and memory in communication with the computing device, the memory receiving the signature from the computing device and storing the signature for future identification.
 32. The system according to claim 31 wherein the computing device includes location means for locating candidate points from among the pixels in the original image and the selecting means selects signature points from among the candidate points.
 33. The system according to claim 32 wherein the selection means includes a pointer operatively connected to the display device and the computing device such that a user can select signature points from among the candidate points displayed on the display device and the computing device alters the signature points selected to form a signature associated with the signed image.
 34. The system according to claim 32 wherein the location means includes means for locating pixel value extrema in the original image the extrema being the candidate points.
 35. The system according to claim 31 wherein the computing device includes means for identifying a subject image derived from the signed image.
 36. The system according to claim 35, further comprising normalizing means for normalizing the subject image with the original image or the signed image.
 37. The system according to claim 36 wherein the normalizing means includes a pointer operatively connected to the display device and the computing device such that a user can select alignment points from among the pixels of the subject image displayed on the display device and the computing device receives the alignment points selected and aligns the subject image with the original image or the signed image in response thereto.
 38. The system according to claim 36 wherein the computing device includes comparing means for comparing the normalized subject image with the original image or the signed image.
 39. The system according to claim 36 wherein the computing device includes: subject selection means for selecting a potential signature point on the subject image corresponding to a signature point of the signed image; averaging means for computing an average of the pixel values of the potential signature point and a plurality of pixels surrounding the potential signature point; and comparing means for comparing the average to a pixel value of the corresponding signature point of the signed image. 